{include file="Index/header" /}
 
<body>
<div class="formbody">
<div class="formtitle"><span>管理员登录日志</span></div> 
	<form action="{:url('System/log')}" method="post">
		<ul class="seachform">
			<li><label>用户名</label>
				<input name="username" type="text" class="scinput" value="{$username}"/>&nbsp;&nbsp; 
			</li>
			<li><label>&nbsp;</label>
				<input name="query" type="submit" class="scbtn" value="查询" />
			</li>
		</ul>
	</form>

	<table class="tablelist" >
		<thead>
			<tr>
				<th>编号</th>
				<th>用户名</th>
				<th>IP</th>
				<th>时间</th>  
			</tr>
		</thead>
		<tbody>
		 	{volist name="listArr" id="vo" key="k" } 
			<tr>
				<td>{$vo.id}</td>
				<td>{$vo.username}</td>
				<td>{$vo.ip}</td>
				<td>{:date("Y-m-d H:i:s",$vo[on_time]);}</td>
			 
			</tr>
		 	{/volist}
		</tbody>
	</table>
	<div class="page">
					{$pages}
	</div>
 
</div>

{include file="Index/footer" /}